<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored ="false" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>      
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Post List</title>
</head>
<body>

<c:forEach var="post" items="${list}" varStatus="status">
이름: ${post.name}<br>
내용: <pre>${post.content}</pre><br>
등록일: ${post.regdate}<br>
<hr><br>
</c:forEach>
<a href="writeform">포스트 등록</a>
</body>
</html>